package org.br.erp.rfq.service;

import org.br.erp.rfq.entity.Scmqutoitem;
import org.br.erp.rfq.entity.Scmquto;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 报价单
 * @Author: jeecg-boot
 * @Date:   2023-01-27
 * @Version: V1.0
 */
public interface IScmqutoService extends IService<Scmquto> {

	/**
	 * 添加一对多
	 *
	 * @param scmquto
	 * @param scmqutoitemList
	 */
	public void saveMain(Scmquto scmquto,List<Scmqutoitem> scmqutoitemList) ;
	
	/**
	 * 修改一对多
	 *
   * @param scmquto
   * @param scmqutoitemList
	 */
	public void updateMain(Scmquto scmquto,List<Scmqutoitem> scmqutoitemList);
	
	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	
}
